package com.ruoyi.store.mapper;

import com.ruoyi.store.domain.StuPaper;
import com.ruoyi.store.domain.StuQuestion;
import com.ruoyi.store.domain.StuUserAnswer;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface StuPaperMapper {
    /**
     * 显示试卷信息
     */
    List<StuPaper> selectStuPaperList(StuPaper stuPaper);

    public StuPaper selectStuPaperByPaperId(Long paperId);


    public int insertPaper(StuPaper stuPaper);


    int updateTotal(@Param("totalMark") int totalMark,@Param("passMark") int passMark, @Param("paperId") Long paperId);


    Long countPaper();

    int delStuPapersByIds(Long[] paperIds);

    StuPaper checkStageNameUnique(String paperName);
}
